package com.yscz.peexcel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: pe
 * @description: 分数表
 * @author: muqs
 * @create: 2021-08-21 14:45
 **/
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "t_score")
public class Score implements Serializable {

    /**
     * 总分ID
     */
    @TableId(value = "score_id", type = IdType.AUTO)
    private Long scoreId;

    /**
     * 算法类型
     */
    @TableField(value = "alg_type")
    private String algType;


    /**
     * 最低分
     */
    @TableField(value = "score_min")
    private Integer scoreMin;

    /**
     * 最高分
     */
    @TableField(value = "score_max")
    private Integer scoreMax;

    /**
     * 描述
     */
    @TableField(value = "score_content")
    private String scoreContent;

    /**
     * 因子ID
     */
    @TableField(value = "factor_id_fk")
    private Long factorIdFk;

    /**
     * 量表ID
     */
    @TableField(value = "scale_id_fk")
    private Long scaleIdFk;
}
